/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package calendar.seeker;

/**
 *
 * @author ukhanoff
 */
public class Calendar {
    public static void main (String args[]){
        System.out.println("All leap years:");
        int i=0;
        for (i=0; i <= 3012;i=i+4){
            if (i%100==0){
                if (i%400==0){
                    System.out.println(i);
                }
                else i=i+4;
            }
            System.out.println(i);
        
        }
    
    }
}
